/* 
 * File:   grid_group_box.cpp
 * Author: jolo
 * 
 * Created on: 13. Oktober 2011, 13:02
 * Lincense: New BSD License (The BSD 2-Clause License)
 */

#include "grid_group_box.hpp"

#include <QtGui/QLayout>

namespace widgets
{

    grid_group_box::grid_group_box(const QString& t, QWidget* p)
    : group_box(t, p)
    {
        setLayout(new QGridLayout(this));
    }

    grid_group_box::~grid_group_box()
    {
    }
    
    QGridLayout* grid_group_box::grid_layout() {
        return dynamic_cast<QGridLayout*>(layout());
    }
}